<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		<link rel="stylesheet" type="text/css" href="${path}/css/step/an.css" />
<script type="text/javascript">

$(function() {
	//给日历提示时间加上默认日期
	var now = new Date();
	var ny = now.getFullYear();
	var nm = now.getMonth() + 1;
	var nd = now.getDate();
	var today = ny + "-" + nm + "-" + nd;
	var begintime = "9:00";
	var endtime = "18:00";

	$("#checktimebegin").val(today + " " + begintime);
	$("#checktimeend").val(today + " " + endtime);
	});
</script>

	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		
		<div class="webpart3 contentarea">
			<div class="webpart-head">
				<div class="webpart-head-item">
					考勤流程
				</div>
			</div>
			<div class="webpart-main">
			<div class="webpart-main-item">
			
			<div class="at_loc" style="padding-top: 12px;">
				<span class="now" style="width: 208px;">考勤管理</span>
				<span class="line_frist"></span>
				<span style="width: 208px;" >考勤登记</span>
				<span class="line"></span>
				<span style="width: 208px;" >考勤确认</span>
				<span class="line_end"></span>
			</div>
				
			<div class="search" style="margin-top: 12px;">
			<form method="get" action="affirm">
				<table cellspacing="0" cellpadding="0" style="width: 100%;">
					<tbody>
					<tr>
							<th>
								考勤类型
							</th>
							<td>
								<sfa:dic showType="select" kindNo="CHECKITEM"
									attr="class='input-txt' style='width: 120px;'" name="checkitem" id="checkitem">
								</sfa:dic>
							</td>
							<th>
							考勤级别
							</th>
							<td>
								<sfa:dic showType="select" kindNo="AGENTLEVELCODE" def="ALL:全部"
									attr="class='input-txt' style='width: 120px;'" name="agentLevelCode" id="agentLevelCode">
								</sfa:dic>
							</td>						
						</tr>
						<tr>
							<th>
								开始时间
							</th>
							<td>
								<input type="text" id="checktimebegin" name="checktimebegin" class="input-txt"
									onfocus="WdatePicker({startDate:'%y-%M-01 00:00',dateFmt:'yyyy-MM-dd HH:mm',alwaysUseStartDate:true})"
									readOnly="true" style="height: 20px; width: 118px;"
									value="${checktimebegin}" />
							</td>
							<th>
								结束时间
							</th>
							<td>
								<input type="text" id="checktimeend" name="checktimeend" class="input-txt"
									onfocus="WdatePicker({startDate:'%y-%M-01 00:00',dateFmt:'yyyy-MM-dd HH:mm',alwaysUseStartDate:true})"
									readOnly="true" style="height: 20px; width: 118px;"
									value="${checktimeend}" />
							</td>											
						</tr>
						<tr>
						    
							<td class="table_btn" colspan="4" align="center">
								<input type="submit" class="linkbtn2" value="下一步" />
						    	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;			
								<input type="button" class="linkbtn2" value="批量导入" onclick="location.href='${path}/team/attendance/index/into';" />
							</td>
							
						</tr>
					</tbody>
				</table>
				</form>
				</div>
			</div>
			</div>
				<div class="webpart-foot">
                    <div class="webpart-foot-item">
                    </div>
                </div>
		</div>

		<sfa:mainFooter></sfa:mainFooter>

	</body>
</html>


